package com.youme.api

import com.youme.model.Food

/**
 * @Time:2021/3/19 11:21
 * @Author:wujinsheng
 * @Description:
 */
interface Callback<T> {
    fun onSuccess(value: T)
    fun onFailed(
        errorCode: Int = -1,
        errorMessage: String = "",
        throwable: Throwable? = null
    )
}